<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>积分列表</title>
<script language="javascript" src="<?=public_js_path();?>jquery.js">
</script>
<script language="javascript">
$(document).ready(function() {
	
});
</script>
</head>
<body>
    <div>
    <p>获得积分上限：<?php echo $user_info->max_coin;?></p>
    <p>现有积分：<?php echo $user_info->coin;?></p>
        <table border="0">
        	<tr>
            	<td>类型</td>
                <td>分数</td>
                <td>时间</td>
            </tr>
            <?php foreach($results as $v){?>
            <tr>
            	<td><?php echo $v->type;?></td>
                <td><?php echo $v->coin;?></td>
                <td><?php echo $v->add_time ;?></td>
            </tr>
            <?php }?>
        </table>
    </div>
</body>
</html>
